how to get the name of a html balise and pass it in onPress

124

how to get the name of a html balise and pass it in onPress -

<Button title="News" id={this.props.prop_where_id_is} onPress={() => this.setCategory(this.props.prop_where_id_is)} />

Comments

Submit
0 Comments